package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 交易管理对象 housing_order
 * 
 * @author ruoyi
 * @date 2021-06-16
 */
public class HousingOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long hoId;
    private Long userId;

    /** 服务房子外键 */
    @Excel(name = "服务房子外键")
    private Long htId;

    /** 卖家名称 */
    @Excel(name = "卖家名称")
    private String hoName;

    /** 卖家电话 */
    @Excel(name = "卖家电话")
    private String hoPhone;

    /** 卖家留言 */
    @Excel(name = "卖家留言")
    private String hoRemarks;
    private HousingTrust housingTrust;
    @Excel(name = "预约时间")
    private Date hoTime;


    public Date getHoTime() {
        return hoTime;
    }

    public void setHoTime(Date hoTime) {
        this.hoTime = hoTime;
    }

    public HousingTrust getHousingTrust() {
        return housingTrust;
    }

    public void setHousingTrust(HousingTrust housingTrust) {
        this.housingTrust = housingTrust;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public void setHoId(Long hoId)
    {
        this.hoId = hoId;
    }

    public Long getHoId() 
    {
        return hoId;
    }
    public void setHtId(Long htId) 
    {
        this.htId = htId;
    }

    public Long getHtId() 
    {
        return htId;
    }
    public void setHoName(String hoName) 
    {
        this.hoName = hoName;
    }

    public String getHoName() 
    {
        return hoName;
    }
    public void setHoPhone(String hoPhone) 
    {
        this.hoPhone = hoPhone;
    }

    public String getHoPhone() 
    {
        return hoPhone;
    }
    public void setHoRemarks(String hoRemarks) 
    {
        this.hoRemarks = hoRemarks;
    }

    public String getHoRemarks() 
    {
        return hoRemarks;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("hoId", getHoId())
            .append("htId", getHtId())
            .append("hoName", getHoName())
            .append("hoPhone", getHoPhone())
            .append("hoRemarks", getHoRemarks())
            .toString();
    }
}
